package com.gxnu.edu.cn.ttxxt.service;

import com.gxnu.edu.cn.ttxxt.entity.Notifications;

import java.util.List;

public interface NotificationService {

    void sendNotification(Long receiverId, Long senderId, Integer type, String content);

    List<Notifications> getNotifications(Long userId);

    List<Notifications> getUnreadNotifications(Long userId);

    void markNotificationAsRead(Long notificationId);

    void markAllNotificationsAsRead(Long userId);

    String processNotification(Long notificationId, Integer status);

    List<Notifications> getNotificationsFrendApple(Long userId);

    String rejectNotification(Long notificationId, Integer status);
}
    